<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>{:session('cp.cpsysname')}--商户管理平台</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <meta name="description" content="{:config('webconfig.description');}">
    <meta name="keywords" content="{:config('webconfig.keywords');}">
    <meta name="author" content="runoob">
    <link rel="stylesheet" href="__STATIC_URL__/static/css/bootstrap.css">
    <link rel="stylesheet" type="text/css" href="__STATIC_URL__/static/css/index.css"/>
    <script src="__STATIC_URL__/static/js/jquery-2.1.4.min.js"></script>
    <script src="__STATIC_URL__/static/bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <script src="__STATIC_URL__/static/js/commen.js" type="text/javascript" charset="utf-8"></script>
    <style>
        .coupon-color{
            line-height: 32px;
        }
    </style>
</head>
<body>
{include file='public/header'/}
<!------------------导航-------------------------->
<section id="content">
    {include file='public/left'/}
    <!--------------------------主要内容区域------------------------------------->
    <div class="content">
        <div class="page-heading mgl15 mgr15">
            <!--路径导航-->
            <ol class="breadcrumb">
                <li>当前位置是:</li>
                <li>
                    <a href="{:url('cardus/cardinfo',['card_id'=>$card['card_id']])}">会员卡</a>
                </li>
                <li class="active">查看会员信息</li>
            </ol>

        </div>
        <div class="panel mgl15 mgr15">
            <div class="panel-heading addCharts" style="background:#ededed;">会员信息</div>
            <div class="panel-body">
                <form class="form-horizontal adminex-form" action="" method="post">
                    <div class="pull-left alert form form-area col-sm-12 col-md-12 "style="display: block; margin-top: 0.5px;" id="form1">
                        <div class="arrow_in"></div>
                        <div class="form-group" id="ferror2">
                            <label class="col-sm-2 control-label">昵称：</label>
                            <div class="col-sm-2 coupon-color">{if condition="$info.nickname neq ''"}{$info.nickname}{else}<a style="color: darkred;font-size: 12px;">暂无昵称</a>{/if}</div>
                        </div>
                        <div class="form-group">
                            <label class="col-xs-12 col-sm-3 col-md-2 control-label">会员卡号：</label>
                            <div class="col-sm-9 col-xs-12 coupon-color">{$info.code}</div>
                        </div>
                        <div class="form-group jifenshezhi">
                            <label class="col-xs-12 col-sm-3 col-md-2 control-label">积分：</label>
                            <div class="col-sm-9 col-xs-12 coupon-color">{if condition="$info['bonus'] neq ''"}{$info.bonus}{else}<a style="color: darkred;font-size: 12px;">暂无积分</a>{/if}</div>
                        </div>
                        <div class="form-group">
                            <label class="col-xs-12 col-sm-3 col-md-2 control-label">余额：</label>
                            <div class="col-sm-9 col-xs-12 coupon-color">{if condition="$info['balance'] neq ''"}{$info.balance}{else}<a style="color: darkred;font-size: 12px;">0.00</a>{/if}</div>
                        </div>

                        <div class="form-group">
                            <label class="col-xs-12 col-sm-3 col-md-2 control-label">等级：</label>
                            <div class="col-sm-9 col-xs-12 coupon-color">{if condition="{:getlevel($info['bonus'])} neq ''"}{:getlevel($info['bonus'])}{else}<a style="color: darkred;font-size: 12px;">暂无等级</a>{/if} </div>
                        </div>
                        <div class="form-group">
                            <label class="col-xs-12 col-sm-3 col-md-2 control-label">推荐人：</label>
                            <div class="col-sm-9 col-xs-12 coupon-color">暂无该功能</div>
                        </div>
                        <div class="form-group">
                            <label class="col-xs-12 col-sm-3 col-md-2 control-label">手机号：</label>
                            <div class="col-sm-9 col-xs-12 coupon-color">{if condition="$info['phone'] neq ''"}{$info.phone}{else}<a style="color: darkred;font-size: 12px;">未获取到手机号</a>{/if}</div>
                        </div>
                    </div>
                </form>
            </div>
        </div>
        {include file='public/footer'/}
    </div>
</section>
</body>


</html>
